@import "./base.less";

// 头部
#header {
    width: 100%;
    background-color: #ff841d;

    height: 50px;
    padding: 10px;

    .logo {
        float: left;
    }

    .app {
        float: right;

        // img {
        //     // margin-right: 5px;
        // }
    }
}

// 搜索框
#search {
    width: 100%;
    background-color: #fff;

    padding: 10px;

    form {
        position: relative;
        padding-right: 70px;

        input[type="text"] {
            width: 100%;
            height: 30px;
            background: #f1f1f1;
            border-radius: 15px;
            border: 0;
            outline: 0;
            text-indent: 15px;
            font-size: 16px;
            padding-right: 70px;
        }

        input[type="submit"] {
            width: 70px;
            position: absolute;
            top: 0;
            right: 0;
            background: #ff841d;
            color: #fff;
            width: 63px;
            height: 30px;
            border-radius: 15px;
            border: 0;
            font-size: 16px;
            line-height: 30px;
        }
    }



}

// 首页菜单
#menu {
    width: 100%;
    background-color: #fff;
    margin-top: 10px;
    overflow: hidden;

    .row {
        float: left;

        .col-xs-3 {
            a {
                display: block;
                text-align: center;

                img {
                    width: 42px;
                    height: 42px;
                    vertical-align: middle;
                }

                p {
                    // text-align: center;
                    color: #666;
                    font-size: 16px;
                }
            }
        }
    }
}

//超值折扣
#recommen {
    width: 100%;
    margin-top: 5px;
    background-color: #fff;

    .r-title {
        width: 100%;
        background-color: #ff9000;
        position: relative;
        height: 44px;

        h5 {
            height: 44px;
            line-height: 44px;
            font-size: 16px;
            color: #fff;
            padding-left: 20px;
        }

        img {
            position: absolute;
            top: 10px;
            right: 10px;
        }
    }

    .r-list {
        width: 100%;

        .media {
            width: 100%;
            height: 151px;
            display: flex;
            padding: 10px;
            border-bottom: 1px solid #ccc;

            .m-left {

                img {
                    margin-top: 5px;
                    width: 125px;
                    height: 125px;
                }
            }

            .m-right {
                flex: 1;
                margin-top: 25px;

                a {
                    position: relative;
                    text-decoration: none;
                    color: rgb(17, 17, 17);

                    h5 {
                        font-size: 14px;
                        font-weight: normal;
                        margin-top: 10px;
                        margin-bottom: 10px;
                    }

                    p {
                        color: #e92322;
                        margin-bottom: 10px;
                    }

                    .from {
                        float: left;
                        color: #666;
                        font-size: 12px;
                    }

                    .comment {
                        float: right;
                        margin-right: 10px;
                        color: #666;
                        font-size: 16px;
                    }
                }
            }
        }

    }


}

#recommen-more {
    width: 100%;

    padding: 10px;

    a {
        display: block;
        width: 100%;
        border: 1px solid #ccc;
        text-align: center;
        height: 32px;
        line-height: 32px;
        border-radius: 5px;
        color: #000;
    }
}

#recommen-title {
    width: 100%;
    background-color: #ff9000;
    position: relative;
    height: 44px;

    h5 {
        height: 44px;
        line-height: 44px;
        font-size: 16px;
        color: #fff;
        padding-left: 20px;
    }

    img {
        position: absolute;
        top: 10px;
        right: 10px;
    }
}

#footer {
    width: 100%;
    margin-top: 10px;

    .rr {
        width: 100%;

        // margin-right: -15px;
        // margin-left: -15px;
        div {

            text-align: center;
            border: 1px solid #ccc;
            height: 30px;
            line-height: 30px;

            a {
                color: #000;
                font-size: 16px;
            }
        }
    }

    p {

        text-align: center;
        font-size: 12px;
    }

}